import { Evaluator } from './evaluator.js';
import { parse } from './SyntaxParser.js';


document.getElementById('run').addEventListener('click', (e) => {
    let r = new Evaluator().evaluate(parse(document.getElementById('source').value));
    console.log(r);
});